
import { _decorator, Component, sys, Node } from 'cc';
const { ccclass, property } = _decorator;

@ccclass('Support3DInfo')
export class Support3DInfo extends Component {

    @property(Node)
    displayNode !: Node;

    start () {
        if (sys.browserType === sys.BROWSER_TYPE_IE){
            this.displayNode.active = false;
            this.node.active = true;
        } else {
            this.displayNode.active = true;
            this.node.active = false;
        }
    }
}

